package com.cargohu.aishouyu.member.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 添加用户签到记录参数
 *
 * @author yww
 * @since 2023-11-29
 */
@Data
@Accessors(chain = true)
@Schema(description = "添加用户签到记录参数")
public class MemberSignAddDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "会员ID")
    @NotNull(message = "会员ID不能为空")
    private Long memberId;

    @Schema(description = "签到时间")
    private Date signTime;

    @Schema(description = "删除标记，0未删除，1已删除")
    @Length(max = 1, message = "删除标记，0未删除，1已删除长度超过限制")
    private String delFlag;

}


